package Service;

import Domain.PageBean;
import Domain.Product;
import Domain.Product2;

import java.util.List;
import java.util.Map;

public interface ProductService {
    public List<Product> FindProductById(int id);

    public List<Product> FindProductByTypeid(int tid);

    public List<Product> FindProductAll();

    public List<Product> likeProduct(String Name);

    PageBean<Product2> findProductByPage(String currentPage, String rows, Map<String, String[]> condition);

    public List<Product> getProducts(List<String> ids);
}
